package com.ruoyi.manage.domain;

import java.util.List;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 术中清点记录对象 surgery_device_detail
 * 
 * @author zww
 * @date 2025-07-08
 */
@Data
public class SurgeryDeviceDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 术中清点记录id */
    private Long surgeryDeviceDetailId;

    /** 术中清点记录单id */
    @Excel(name = "术中清点记录单id")
    private Long surgeryDeviceId;

    /** 物资ID */
    @Excel(name = "物资ID")
    private Long deviceId;

    /** 器材名称 */
    @Excel(name = "器材名称")
    private String deviceName;

    /** 开台数 */
    @Excel(name = "开台数")
    private Integer beforeOperatioNnum;

    /** 关体腔前 */
    @Excel(name = "关体腔前")
    private Integer preantralNum;

    /** 关体腔后 */
    @Excel(name = "关体腔后")
    private Integer cavityNum;

    /** 缝皮后 */
    @Excel(name = "缝皮后")
    private Integer afterSkinNum;

    /** 排序 */
    @Excel(name = "排序")
    private Long deviceDetailIndex;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 0正常1删除 */
    private Long delFlag;

    /** 术中清点单记录增加明细信息 */
    private List<SurgeryDeviceIncreasement> surgeryDeviceIncreasementList;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("surgeryDeviceDetailId", getSurgeryDeviceDetailId())
            .append("surgeryDeviceId", getSurgeryDeviceId())
            .append("deviceId", getDeviceId())
            .append("deviceName", getDeviceName())
            .append("beforeOperatioNnum", getBeforeOperatioNnum())
            .append("preantralNum", getPreantralNum())
            .append("cavityNum", getCavityNum())
            .append("afterSkinNum", getAfterSkinNum())
            .append("deviceDetailIndex", getDeviceDetailIndex())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("surgeryDeviceIncreasementList", getSurgeryDeviceIncreasementList())
            .toString();
    }
}
